package com.gec.model.system;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gec.model.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户套餐订单表
 * </p>
 *
 * @author dafei
 * @since 2024-01-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("itrip_service_order")
public class ITripServiceOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 套餐id
     */
    @TableField("serviceId")
    private Long serviceId;

    /**
     * 用户id
     */
    @TableField("userId")
    private Long userId;

    /**
     * 票数
     */
    @TableField(exist = false)
    private Long number;

    /**
     * 订单价格
     */
    @TableField("price")
    private BigDecimal price;


    /**
     * 0:未支付 1:已支付
     */
    @TableField("isPaid")
    private Integer isPaid;
    @TableField(exist = false)
    private String serviceName;
    @TableField(exist = false)
    private String username;

    @TableField(exist = false)
    private List<String> sightsName;

    @TableField(exist = false)
    private String cityName;

    @TableField(exist = false)
    private String areaName;

}
